# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Bruce Zhang <zttt183525594@gmail.com>

pkgname=feeluown-kuwo
pkgver=0.2.1
pkgrel=1
pkgdesc="Kuwo music provider for FeelUOwn music player"
arch=('any')
url="https://github.com/feeluown/feeluown-kuwo"
license=('GPL3')
depends=('feeluown' 'python-marshmallow' 'python-requests')
makedepends=('python-setuptools')
groups=('feeluown-full')
source=("https://github.com/feeluown/feeluown-kuwo/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('896403534c4b0cbed2bcde7d428a837d76c7f55bc3f1afa2a022c82db218b514766c6bc968c9afab6ee150caa504ea331ad4d1538770d5f6750840e9efce1c43')

build() {
  cd feeluown-kuwo-$pkgver
  python setup.py build
}

package() {
  cd feeluown-kuwo-$pkgver
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
